Correct docs for program-name property. (#496689, Thomas Wood)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Nov 2007 05:28:28 +0000 (05:28 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 19 Nov 2007 05:28:28 +0000 (05:28 +0000)
2007-11-19  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaboutdialog.c: Correct docs for program-name property.
        (#496689, Thomas Wood)

svn path=/trunk/; revision=18999

ChangeLog
docs/reference/ChangeLog
docs/reference/gtk/tmpl/gtkaboutdialog.sgml
gtk/gtkaboutdialog.c

index efd0478d7616ee498be0488628079d10c8b7b6f4..394d6a0a4b13b97887a97271ac69a93b4d56d606 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-19  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkaboutdialog.c: Correct docs for program-name property.
+       (#496689, Thomas Wood)
+
 2007-11-17  Paolo Borelli  <pborelli@katamail.com>
 
        * gtk/gtktextbuffer.c:
index f9c800c2016ecf6b12eb138ea95647defe42a234..395448bcafacf873f6b4c689fe99a0f480bd1140 100644 (file)
@@ -1,3 +1,8 @@
+2007-11-19  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/tmpl/gtkaboutdialog.sgml: Add some hints about
+       program-name vs name.  (#496689, Thomas Wood)
+
 2007-11-19  Matthias Clasen <mclasen@redhat.com>
 
        * gtk/tmpl/gtkbuilder.sgml: Small correction to the
index afb471e4ef12085892c85620db4dbb0a3a748e9e..4cb3fb7fc56cb5f039adc48b3809529831a30e65 100644 (file)
@@ -37,11 +37,16 @@ a #GtkAboutDialog, as shown in the following example:
 </para>
 <informalexample><programlisting>
 gtk_show_about_dialog (NULL, 
-                       "name", "ExampleCode",
+                       "program-name", "ExampleCode",
                        "logo", example_logo,
                        "title" _("About ExampleCode"),
                        NULL);
 </programlisting></informalexample>
+<para>
+Note that prior to GTK+ 2.12, the #GtkAboutDialog:program-name property
+was called "name". This was changed to avoid the conflict with the
+#GtkWidget:name property.
+</para>
 
 <!-- ##### SECTION See_Also ##### -->
 <para>
index cd63f5b74a157cb6259951471c9ae1010af42378..13c7fa8e16fa64211c6099db3d326e0cb46e3dfa 100644 (file)
@@ -184,12 +184,12 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
 
 
   /**
-   * GtkAboutDialog:name:
+   * GtkAboutDialog:program-name:
    *
    * The name of the program. 
    * If this is not set, it defaults to g_get_application_name().
    *
-   * Since: 2.6
+   * Since: 2.12
    */  
   g_object_class_install_property (object_class,
                                   PROP_NAME,